<template>
    <header>
        <h1>{{ title }}</h1>
    </header>
</template>

<script>

export default {
  name: 'app-header',
  data(){
    return{
      title:"Demo标题"
    }
  },
  methods:{
    
  } 
}
</script>

<style scoped>
    header{
        background: black;
        color:#fff;
        text-align: center;
        padding: 10px 0;
    }
</style>
